package com.formulas.resources.formulas.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

/**
* <p>
* 菜单资源信息表
* </p>
*
* @author 坚持是一种技术
* @since 2023-08-12
*/
@Data
@TableName("formulas_menu")
@Tag(name = "FormulasMenu对象", description = "菜单资源信息表")
public class FormulasMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "菜单编号")
    @TableId("menu_id")
    private String menuId;

    @Schema(description = "菜单路径")
    @TableField("menu_path")
    private String menuPath;

    @Schema(description = "菜单组件")
    @TableField("menu_component")
    private String menuComponent;

    @Schema(description = "菜单名称")
    @TableField("menu_name")
    private String menuName;

    @Schema(description = "菜单图标")
    @TableField("menu_icon")
    private String menuIcon;

    @Schema(description = "上级菜单")
    @TableField("parent_id")
    private String parentId;

    @Schema(description = "菜单过期")
    @TableField("enabled")
    private Boolean enabled;

    @Schema(description = "菜单排序")
    @TableField("menu_sort")
    private Integer menuSort;


}